Therefore, if you have the same set of characters in a string, its length may defer according to the encoding used. 因此,如果字符串中有相同的字符集,则其长度可能随使用编码方式的不同而有所不同。
Consider that you have a character in UTF-8 encoding has length of 3 bytes, and the string has only the first two byte of the encoding. 假设您拥有一个UTF-8编码的字符,其长度为3字节,而字符串只拥有编码的前两个字节。
If a single field is desired, lat/ lon can be encoded into a single String using the Geohash encoding ( see Resources). 如果希望使用一个字段,那么可以使用Geohash编码方式将纬度/经度编码到一个String中(参见参考资料)。
The character-based string functions of DB2 introduces the concept of string length units to understand the character encoding, according to which the input string is to be considered for string operations. DB2的基于字符的字符串函数引入了字符串长度单元的概念来理解字符编码,根据该概念,考虑使用输入字符串来进行字符串操作。
The locale setting will cause the% ls format specifier in printf to call the wcsrtombs() function in order to convert the wide character argument string into the locale-dependent multi-byte encoding. 语言环境设置会导致printf中的%ls格式说明符调用wcsrtombs()函数以便于将宽字符的参数字符串转换成依赖语言环境的多字节编码。
A string can have different encoding ( for example, ASCII, EBCDIC, UTF-8, and so on), and the content of the string can potentially be in different languages. 字符串可以有不同的编码(如,ASCII、EBCDIC、UTF-8等等),并且字符串的内容可以采用不同的语言。
The DOMWriter will store the correct encoding information which matches the actual encoding of the string in the encoding attribute of the XML declaration. DOMWriter将在XML声明的编码属性中存储正确的编码信息(它与字符串的实际编码相匹配)。
If the initializer is a string, you must provide an encoding. 如果初始化器(initializer)是一个字符串,那么就必须提供一种编码。
When migrating a non-Unicode to a Unicode database, string data types have to be changed in case of UCS-2 encoding. 在将非Unicode数据库迁移到Unicode数据库时,对于UCS-2编码的情况,字符串数据类型必须转换。
The length of the character string is dependent on the character encoding ( ASCII, EBCDIC, and Unicode) that is used to encode the character. 字符字符串的长度取决于用于编码字符的字符编码方式(ASCII、EBCDIC和Unicode)。
The former encrypts a plain-text string, returning its encoding; the latter decrypts an encoded string and returns plain text. 前者加密一个纯文本的字符串,返回其编码;后者解密一个加密了的字符串并返回纯文本。
Construct a new String by converting the specified array of bytes using the platform's default character encoding. 构造一个新的字符串它是被改变的用一些特殊的字节数组编码格式来代替默认的字节编码格式。
Thanks to it, the stream gets fully consumed and its content is transformed to a string, using the encoding relevant to the HTTP exchange. 多亏有了这个转换器,流得到了完全的处理,其内容也通过使用与HTTP交换相关的编码转换为字符串。
In this paper, the implementation method using software and hardware to achieve mobile telephone short message issuance was introduced, meanwhile the specific format for PDU string and the encoding method were detailed introduced with examples. 本文介绍了手机短消息的软硬件实现方法,并实例介绍了PDU串的具体格式和编码的实现方法。
This paper introduces a short message mode for mobile phone, and in combination of the 3GPP protocol analyses the significance of the PDU string, further studies the encoding/ decoding of the short message in the sending and receiving process, including its implementation. 介绍了手机短消息的工作模式,结合3GPP协议分析PDU字符串的意义,从而对发送与接收过程中短消息的编解码进行了研究。